﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Httlgd.DataCenter.Services.Core
{
    public abstract class BusinessComponentBase
    {
        public virtual DataTransferObjectBase Save(BusinessEntityBase param)
        {
            return null;
        }

        public virtual DataTransferObjectBase Create(BusinessEntityBase param)
        {
            return null;
        }

        public virtual DataTransferObjectBase Update(BusinessEntityBase param)
        {
            return null;
        }

        public virtual void Delete(DataTransferObjectBase param)
        {
            
        }

        public virtual DataTransferObjectBase Retrieve(DataTransferObjectBase param)
        {
            return null;
        }

        public virtual DataTransferObjectBase RetrieveList()
        {
            return null;
        }

        public virtual DataTransferObjectBase Search(DataTransferObjectBase param)
        {
            return null;
        }

        public virtual bool IsExisted(DataTransferObjectBase param)
        {
            return false;
        }
    }
}
